package cn.com.jrr.core.model;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;


@Repository
public class ResponseMessage {
	/**
	 * success or fail
	 */
	private String status;
	/**
	 * 信息字符串
	 */
	private String message;
	/**
	 * 数据信息
	 */
	private List<Map<String,Object>> data;

	public ResponseMessage() {
	}

	public ResponseMessage(String status, String message, List<Map<String, Object>> data) {
		super();
		this.status = status;
		this.message = message;
		this.data = data;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public List<Map<String, Object>> getData() {
		return data;
	}

	public void setData(List<Map<String, Object>> data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "ResponseMessage [status=" + status + ", message=" + message + ", data=" + data + "]";
	}

}
